home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 21 code / Custom GX Printer Drivers / CustomWriter GX 1.0.1 / ChooserSupport.a next >
Encoding:
Text File  |  1995-05-03  |  1.7 KB  |  65 lines  |  [TEXT/MPS ]

  1. ;------------------------------------------------------------------------------
  2. ;
  3. ;    FILENAME
  4. ;        ChooserSupport.a
  5. ;
  6. ;    DESCRIPTION
  7. ;        Contains the code to form the first part of the Chooser 'PACK' for
  8. ;        this driver.
  9. ;
  10. ;    COPYRIGHT
  11. ;        Copyright © 1995 Apple Computer, Inc.
  12. ;        All rights reserved.
  13. ;    
  14. ;    Modification history
  15. ;        05/03/95 - Dave Hersey -    Version 1.0.1 to fix some minor bugs in
  16. ;                                    CustomBufferingAndIO.c.
  17. ;
  18. ;        01/14/95 - Dave Hersey -    Created from the shell of a hollowed-out
  19. ;                                    ImageWriter driver.
  20. ;
  21. ;------------------------------------------------------------------------------
  22.  
  23.             STRING    ASIS
  24.             CASE    OBJ
  25.  
  26. kAppleTalkDevice        EQU    $80000000
  27. kIsPAPDevice            EQU $40000000
  28. kIsPostScriptDevice        EQU $20000000
  29. kMultiSelect            EQU    $10000000
  30. kLeftButton                EQU    $08000000
  31. kRightButton            EQU    $04000000
  32. kNoSavedZone            EQU $02000000
  33. kActualZoneNames        EQU    $01000000
  34. kNoIntlChars            EQU    $00800000
  35. kEvenUpName                EQU    $00400000
  36. kLengthOnRename            EQU    $00200000
  37. kUsesOnAndOff            EQU    $00100000
  38. kNoSetSelfSend            EQU    $00080000
  39. kUnused18                EQU    $00040000
  40. kAcceptsInit            EQU    $00020000
  41. kAcceptsNewSel            EQU $00010000
  42. kAcceptsFillList        EQU $00008000
  43. kAcceptsGetSel            EQU    $00004000
  44. kAcceptsSelect            EQU $00002000
  45. kAcceptsDeselect        EQU $00001000
  46. kAcceptsTerminate        EQU    $00000800
  47.  
  48.             IMPORT DEVICE            ; our device routine (from ChooserSupport.c)
  49.  
  50. EntryPoint    PROC     EXPORT
  51.             BRA.S    DEVICE            ; branch to our actual code
  52.             DC.W    169                ; device ID
  53.             DC.L    'PACK'            ; device type
  54.             DC.W    $F000            ; master ID for resources (-4096)
  55.             DC.W    2                ; version
  56.             DC.L    kLeftButton+kUsesOnAndOff+kAcceptsInit+kAcceptsTerminate
  57.             
  58. gJob        PROC    EXPORT
  59.             DC.L    0                ; gxJob global
  60.         
  61. gDriverName    PROC    EXPORT
  62.             DS.B    32                ; driver name storage
  63.  
  64.     END
  65.